import React, { Component } from 'react';

import Item from './Item'

class Index extends Component {
    constructor(props) {
        super(props)
        this.state = {
            msg: '传递的数据'
        }
    }
    render() {
        return (
            <div>
                movie
                <Item name={this.state.msg}></Item>
            </div>
        );
    }
}

export default Index;
